package com.example.javatwo.controller.xs.zqy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.example.javatwo.service.xs.zqy.ZDservice;

@Controller
public class ZDcontroller {
	@Autowired
	private ZDservice zdservice;
	
	@ResponseBody
	@RequestMapping(value="findZD",method=RequestMethod.POST)
	public Object findZD(String custName){
		return this.zdservice.findzd(custName);
	}
}
